package com.oceansoft.mobile.econsole.modules.check.persistence;

import com.oceansoft.mobile.econsole.modules.check.entity.IdNumCheck;
import com.oceansoft.mobile.econsole.modules.check.entity.VehicleCheck;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created by Administrator on 2016/2/2.
 */
@Repository
public interface ICheckMapper {

    int saveIdNumCheck(IdNumCheck idNumCheck);

    int countIdNumCheck(@Param("idNum") String idNum);

    int saveVehicleCheck(VehicleCheck vehicleCheck);

    int countVehicleCheck(@Param("vehicleNum")String vehicleNum);

    IdNumCheck getIdNumCheckByGuid(@Param("guid")String guid);

    VehicleCheck getVehicleNumCheckByGuid(@Param("guid")String guid);
}
